package com.example.common.exception;

/**
 * @Author: ChenZhiXiang
 * @Date: 2019/6/18 22:11
 * @Description:
 */
public class IException extends RuntimeException{

    private Integer code;

    public IException() {
    }

    public IException(String message){
        super(message);
    }

    public IException(Integer code,String message){
        super(message);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
